const state = () => ({
    clientHeight: 800,
})

// getters
const getters = {
    // console.log("token", this.$store.getters['user/token'])
    clientHeight: (state, getters, rootState) => {
        return state.clientHeight;
    },

}

// actions
const actions = {
    // this.$store.dispatch("user/Login", this.loginForm)
    setHeight({commit, state}, clientHeight) {
        commit('setHeight', clientHeight);
    },
}

// mutations
const mutations = {
    setHeight(state, clientHeight) {
        state.clientHeight = clientHeight;
    },

}

export default {
    namespaced: true,
    state,
    getters,
    actions,
    mutations
}